/**
 * 
 */
package org.cuatrovientos.loops;

import java.util.Scanner;

/**
 * @author inigo_alzorriz
 *
 */
public class LoopsExercise2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		

		int number = 0;
		String line = "";
		
		//We need this to read from console
		Scanner reader = new Scanner(System.in);
		System.out.println("Enter a number: ");
		line = reader.nextLine();
		number = Integer.parseInt(line);
		
		if (number > 0 && (number%2) == 0) {
			for (int i = 0; i < number; i++) {
				System.out.print("*");
			}
			
		}else {
			System.out.print("Error");
			System.exit(0);
	}
	}
}
